package com.cskaoyan.market.service;

import com.cskaoyan.market.db.admin.bo.AdminBrandBo;
import com.cskaoyan.market.db.common.BasePageInfo;
import com.cskaoyan.market.db.common.CommonData;
import com.cskaoyan.market.db.domain.MarketBrand;

import java.math.BigDecimal;
import java.util.List;

public interface BrandCRUDService {
    CommonData<MarketBrand> queryBrand(BasePageInfo basePageInfo, String id, String name);

    List<MarketBrand> queryBrandById(Integer id);

    List<MarketBrand> queryBrandByName(String name);

    void deleteBrandById(Integer id);

    MarketBrand createBrand(String name, String desc, BigDecimal floorprice);

    MarketBrand updateBrand(Integer id,String name,String desc,BigDecimal floorprice);

    MarketBrand update(AdminBrandBo adminBrandBo);
}
